package io;

import java.io.*;

public class PWDemo02 {
    public static void main(String[] args) throws FileNotFoundException {
        FileOutputStream fos = new FileOutputStream("pw02.txt");
        OutputStreamWriter osw = new OutputStreamWriter(fos);
        BufferedWriter bw = new BufferedWriter(osw);
        PrintWriter pw = new PrintWriter(bw);
        pw.println("在你生命扮演的角色");
        pw.println("太模糊了~");
        System.out.println("写出完毕");
        pw.close();
    }
}
